﻿using ConfExpert.Forms.Base;
using DevTeam;
using System;
using System.Data;

namespace ConfExpert.Forms.Depo._7C
{
    public partial class OlusanFarklar : XForm
    {
        DataTable dt;
        public OlusanFarklar(DataTable dt)
        {
            InitializeComponent();
            this.dt = dt;
        }

        private void OlusanFarklar_Load(object sender, EventArgs e)
        {
            
            gridView1.Init(dt);
            gridView1.FormatAsNumber(1, "QtyA", "QtyA_Yeni", "FarkA", "QtyG", "QtyG_Yeni", "FarkG");
            gridView1.AddSummary("QtyA", "QtyA_Yeni", "QtyG", "QtyG_Yeni", "FarkA", "FarkG");
            gridView1.BestFitColumns();
        }
    }
}
